package com.company.cloud.company.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.company.modules.api.request.*;
import com.company.cloud.company.modules.api.response.CompanyFull;

public interface CompanyMgrService {


    public IPage<CompanyFull> query(CompanyQueryRequest request);

    public CompanyFull save(CompanyAddRequest params, LoginSimpleUserInfo userInfo);

    public CompanyFull save2user(Company2UserAddRequest params, LoginSimpleUserInfo userInfo);

    public CompanyFull check(CompanyCheckRequest params, LoginSimpleUserInfo userInfo);

    public CompanyFull update(CompanyUpdateRequest params, LoginSimpleUserInfo userInfo);

    public  CompanyFull frozen(String companyNo, LoginSimpleUserInfo userInfo);

    public  CompanyFull  unfreeze(String companyNo, LoginSimpleUserInfo userInfo);

    public  CompanyFull del(String companyNo, LoginSimpleUserInfo userInfo);
}
